class Utils:
    @staticmethod
    def popIfExist(items, item):
        idx = -1
        find = False
        for r in items:
            idx += 1
            if r == item:
                find = True
                break
        if find:
            items.pop(idx)
